package net.zoneland.knowledge.constant;

/**
 * 文稿校验常量类.
 */
public final class DocumentVerificationConstants {

    /**
     * 办公宝文稿审核返回3表示专有词纠错.
     */
    public static final String PROCESSED_CONTENT_TYPE = "3";

    /**
     * 字词段落数在返回数据数组里面的下标.
     */
    public static final int WORD_ROW_NUM_INDEX = 0;

    /**
     * 字词列数（第几个字符）在返回数据里面的下标.
     */
    public static final int WORD_INDEX_NUM_INDEX = 2;

    /**
     * 文档校验成功编码code.
     */
    public static final int VERIFY_DOCUMENT_SUCCESS = 0;

    /**
     * 名词已存在异常.
     */
    public static final String TERM_EXIST_ERROR = "TermsInfoManagementServiceImpl addTerm error, termName is already exist. ";

    /**
     * 删除名词异常.
     */
    public static final String DELETE_TERMS_ERROR = "DocumentTermManagementController deleteTermsBatch error. ";

    /**
     * 查询名词异常.
     */
    public static final String QUERY_TERMS_ERROR = "DocumentTermManagementController queryTerms error. ";

    /**
     * 新增名词异常.
     */
    public static final String ADD_TERM_ERROR = "DocumentTermManagementController addTerm error. ";

    /**
     * 修改名词异常.
     */
    public static final String UPDATE_TERM_ERROR = "DocumentTermManagementController updateTerm error. ";

    /**
     * 校验文稿异常.
     */
    public static final String VERIFY_DOCUMENT_ERROR = "DocumentVerificationController verifyDocument error. ";

    /**
     * 更新词库异常.
     */
    public static final String SYNC_TERMS_ERROR = "DocumentVerificationController syncTerms error. ";

    /**
     * 校验文稿-参数转换异常.
     */
    public static final String VERIFY_DOCUMENT_PROCESS_PARAMS_ERROR = "DocumentVerificationServiceImpl verifyDocument process params error,";
    /**
     * 更新词库-参数转换异常.
     */
    public static final String UPDATE_TERMS_PROCESS_PARAMS_ERROR = "DocumentVerificationServiceImpl updateTerms process params error, ";

    private DocumentVerificationConstants() {
    }

}
